$(document).ready(function(){
		$('#slides').cycle({ 
		fx:     'fade', 
		speed:  '300', 
		timeout: 6000, 
                delay:  -2000,
		next:   '#next', 
		prev:   '#prev',
		before: onBefore
	});
	function onBefore() {$('#title').html(this.title);}
});